Skip to content

GHA renovation #3396

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 31, 2025
Merged

GHA renovation #3396

merged 7 commits into from
Jul 31, 2025

Conversation

dsmiley
Copy link
Contributor

@dsmiley dsmiley commented Jun 19, 2025

  • branches (all)
  • timeout-minutes
  • checkout version
  • harmonization across scripts (spacing / wording / labels)
  • remove chmod for gradlew (unnecessary)

Caching tweaks: removed this but I'm unsure:
apache/lucene-solr#1910 CC @madrob

* branches (all)
* timeout-minutes
* checkout version
* harmonization across scripts (spacing / wording / labels)
* remove chmod for gradlew (unnecessary)

Caching tweaks: removed this but I'm unsure:
apache/lucene-solr#1910
Copy link
Contributor

@madrob madrob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there something wrong with the caching? Were we running up against storage limits? The original comment said it took 5 min off the build which seems pretty significant, especially in a 15 minute timeout

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Install ACL
run: sudo apt-get install acl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not need this any more? @HoustonPutman is probably better to look

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in passing tests I trust :-) (which they do)

@dsmiley
Copy link
Contributor Author

dsmiley commented Jun 19, 2025

The elaborate caching configuration is not in Lucene, despite that same elaborate caching configuration being committed before the lucene-solr split. Thus Lucene devs removed it. In particular, it was @dweiss in apache/lucene#13110

I'm going to further improve this PR to use the nice .github/actions/prepare-for-build/action.yml (in Lucene, small tweaks for Solr) refactoring so that each GHA can share it

@dsmiley
Copy link
Contributor Author

dsmiley commented Jun 28, 2025

@madrob when you first added that 5 years ago, we weren't using the GHA gradle action or it didn't exist then. It now does with caching built-in. My goal here is to simplify.

@dsmiley
Copy link
Contributor Author

dsmiley commented Jul 27, 2025

The docker build isn't taking any noticeably longer here than the test runs I see in the GHA dashboard for that script.
I want to merge this Tuesday evening.

@dsmiley dsmiley merged commit 40c58fe into apache:main Jul 31, 2025
6 of 7 checks passed
@dsmiley dsmiley deleted the GHA-Renovation branch July 31, 2025 01:42
dsmiley added a commit that referenced this pull request Jul 31, 2025
* GHA renovation
* branches (all)
* timeout-minutes
* checkout version
* harmonization across scripts (spacing / wording / labels)
* remove chmod for gradlew (unnecessary)
* From Lucene: prepare-for-build
* Refactor workflows to use our prepare-for-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants